home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / aim_xtra.arc / PRAK1.AIM < prev    next >
Text File  |  1988-04-06  |  463b  |  22 lines

  1. * Read image in 
  2. read prak1 
  3. * set color display in color mode 
  4. don,3 
  5. * set timer on 
  6. ton 
  7. * clear all bitplanes of image B 
  8. clear,B 
  9. * threshold image, using automatic threshold 
  10. thr 
  11. * invert image to obtain white objects in black background 
  12. inv 
  13. * make a copy of the image 
  14. bcop 1,3 
  15. * calculate skeleton 
  16. skel 
  17. * Find branchpoints 
  18. vertices 
  19. * propagate what remains (the closed contours) into the original image 
  20. propag 500,1,3,8,0,B
  21.  
  22.